I accidentally crashed IE7. I narrowed down the code to be a CSS issue. It’s surprisingly simple and very annoying.
Code:
Crashes IE7
Link1
Link2
Is span not allow to self close? Lame.
I accidentally crashed IE7. I narrowed down the code to be a CSS issue. It’s surprisingly simple and very annoying.
Code:
Crashes IE7
Link1
Link2
Is span not allow to self close? Lame.
> My IE7 crashes if I look at the following source:
What happens on IE is that the "/" in <span /> is ignored, treating it as
the lone start tag <span>. If you remove the "/" characters, IE 7 still
crashes.
(IE does not understand XHTML. If you send XHTML to it labelled as
text/html, it will treat it as HTML, or rather the same way it treats
HTML.)
> Is <span /> illegal?
Not in XHTML, but it should not be used in any context where your document
might be processed by old HTML browsers like IE.
—
Jukka "Yucca" Korpela, http://www.cs.tut.fi/~jkorpela
Whatya think?